var TSUI;
(function (TSUI) {
    (function (Animation) {
        var Animator = (function () {
            function Animator() {
            }
            Animator.prototype.Show = function (control, callback) {
                if (typeof callback === "undefined") { callback = null; }
                control.AnimationElement().css({
                    visibility: "",
                    display: ""
                });
                if (callback !== null) {
                    callback();
                }
            };

            Animator.prototype.Hide = function (control, callback) {
                if (typeof callback === "undefined") { callback = null; }
                control.AnimationElement().css({
                    visibility: "hidden",
                    display: ""
                });
                if (callback !== null) {
                    callback();
                }
            };
            return Animator;
        })();
        Animation.Animator = Animator;
    })(TSUI.Animation || (TSUI.Animation = {}));
    var Animation = TSUI.Animation;
})(TSUI || (TSUI = {}));
